
  <div class="fly-home" style="background-image: url();"> 
  	<?php if (substr($res1[0]['face'], 0,4)=='http'){?>
    	<img src="<?php echo $res1[0]['face']?>" alt="$_SESSION['nikename']" />  
    <?php } else {?>
    	<img src="__ROOT__/<?php echo $res1[0]['face']?>" alt="$_SESSION['nikename']" /> 
    <?php }?>




   
   <h1> <?php echo $res1[0]['nikename'] ?><i class="iconfont     "></i> </h1> 
   <div class="layui-main"> 
    <p style="display: inline-block; max-width: 800px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #999; margin-top: 10px;"><?php echo $_SESSION['signname'] ?></p> 
   </div> 
   <!--<div class="fly-sns">    <span lay-event="">添加好友</span>  </div>-->
  </div>




  <div class="main layui-clear"> 
   <div class="fly-main layui-clear"> 
    <div class="home-nav"> 
     <a href="">主页</a> 
     <!--<a href="">求解</a>--> 
    </div> 
    <div class="home-left"> 
     <h2>最近发表的求解</h2> 
     <ul class="jie-row"> 

      <?php foreach ($res2 as $key => $value) { ?>
        <li> <a href="/jie/4743.html"> 
          <?php echo $value['title'] ?> </a> 
          <i><?php echo $value['create_time'] ?>小时前</i>
          <em><?php echo $value['view_num'] ?>阅/<?php echo $value['answer_num'] ?>答</em> 
        </li>
      <?php } ?>
        





     </ul> 
     <h2 style="margin-top:30px;">最近的回答</h2> 
     <ul class="home-jieda"> 


      <?php foreach ($res3 as $key => $value) { ?>
        <li> 
          <p> 
            <span><?php echo $value['create_time'] ?>小时前</span> 在
            <a href="/jie/4751.html#item-1478182320522" target="_blank"><?php echo $value['title'] ?>
            </a>中回答： 
          </p> 
          <div class="home-dacontent">
            <?php echo htmlspecialchars_decode($value['content']) ?>
          </div> 
        </li>
      <?php } ?>
       


     </ul> 
    </div> 
    <div class="home-right"> 
     <ul class="home-info"> 
      <li>
        <i class="iconfont icon-zuichun">
          
        </i>拥有飞吻：
        <span style="color: #FF7200;"><?php echo $res1[0]['kiss'] ?></span>
      </li> 
      <li><i class="iconfont icon-shijian"></i>加入时间：<span><?php echo $res1[0]['create_time'] ?>小时前</span>
      </li> 
      <li>
        <i class="iconfont icon-chengshi"></i>城市：
        <span><?php echo $res1[0]['city'] ?></span>
      </li> 
     </ul> 
     <!-- layer-300*250 --> 
     <ins class="adsbygoogle" style="display:inline-block;width:300px;height:250px" data-ad-client="ca-pub-6111334333458862" data-ad-slot="2182025432"></ins> 
    </div> 
   </div>
  </div>
